package com.peace.hospital.feign.hospitalization.service;

import com.peace.hospital.entity.hospitalization.entity.*;
import com.peace.hospital.entity.hospitalization.entity.dto.InpatientmessageDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.sql.Date;


@FeignClient("hosptailization")
public interface HospitalizationService {
//
//    @RequestMapping(value = "/book/getdeparement",method = RequestMethod.GET)
//    String allDepartment();
//
//    @RequestMapping(value = "/book/displayStaffByDepartment",method = RequestMethod.GET)
//    String selectStaff(@ModelAttribute("deparement") Department department, @ModelAttribute("position") Position position);
//
//    @RequestMapping(value = "/book/insertInpatientMessage",method = RequestMethod.GET)
//    String insertInpatientMessage(
//            @ModelAttribute("people") People people, @ModelAttribute("inpatientmessage") Inpatientmessage inpatientmessage,
//            @ModelAttribute("staffinfo") Staffinfo staffinfo);
//
//    @RequestMapping(value = "/book/displayFullSckbed",method = RequestMethod.GET)
//    String displayFullSckbed(@ModelAttribute("deparement") Department department);

    @RequestMapping(value = "/book/displayAll",method = RequestMethod.GET)
    String displayAllInner(@RequestBody Department department);
//
//    @RequestMapping(value = "/book/updateOut",method = RequestMethod.POST)
//    String updateOut(@ModelAttribute("inpatientmessage") Inpatientmessage inpatientmessage);
//
//    @RequestMapping(value = "/displayOneMessage",method = RequestMethod.GET)
//    String displayOneMessage(@ModelAttribute("inpatientmessage") Inpatientmessage inpatientmessage,
//                             @ModelAttribute("people") People people,
//                             @ModelAttribute("sckbed") Sckbed sckbed,
//                             @ModelAttribute("satffinfo") Staffinfo staffinfo);
//
//    @RequestMapping(value = "/book/updateNewMessage",method = RequestMethod.POST)
//    String updateNewMessage(@ModelAttribute("inpatientmessage") Inpatientmessage inpatientmessage);
//
//    @RequestMapping(value = "/book/insertDoctorAdvice",method = RequestMethod.POST)
//    String insertDoctorAdvice(@ModelAttribute("doctoradvice") Doctoradvice doctoradvice);
//
//    @RequestMapping(value = "/book/selectDoctorAdvice",method = RequestMethod.GET)
//    String selectDoctorAdvice(@ModelAttribute("people") People people);
//
//    @RequestMapping(value = "/book/deleteAdvice",method = RequestMethod.POST)
//    String deleteAdvice(@ModelAttribute("doctoradvice") Doctoradvice doctoradvice);
//
//    @RequestMapping(value = "/book/isplayDebts",method = RequestMethod.GET)
//    String displayDebts();


}
